package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description: 抽象类和接口讲解
 * User: 阿宾
 * Date: 2024-05-25
 * Time: 21:59
 */

interface IShape{
    public static final int a = 10;
    public abstract void draw();

    default public void test(){

    }
}
class Rect implements IShape{
    /*
    public void draw() {
        System.out.println("矩形");
    }*/

    @Override
    public void draw() {

    }
}

public class Test01 {
    public static void main(String[] args) {
        /*IShape iShape = new IShape();*/
    }
}
